.cu_tabs_main {
    width: 100%;
   position: relative;

    .tab_item {
        padding: 5px 20px;
        position: relative;
        display: inline-block;
        cursor: pointer;
        margin-right: 5px;
        background-color: var(--neutral-fill-stealth-rest);
        border-radius: calc(var(--control-corner-radius) * 1px);
        border: calc(var(--stroke-width) * 1px) solid transparent;

        .label {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .remove {
            width: 20px;
            height: 20px;
            position: absolute;
            right: 0;
            top: 50%;
            translate: 0 -50%;
            display: none;
        }

        &:hover {
            background: var(--neutral-fill-secondary-rest);

            .remove {
                display: block;
            }
        }
    }

    .tab_item_active {
        background: var(--neutral-fill-secondary-rest);
    }

    .line {
        width: 45px;
        height: 4px;
        border-radius: 2px;
        bottom: 0;
        z-index: 10;
        background-color: var(--main_color);
        position: absolute;
        transition: left 1s, width 0.5s;
    }
}
